import com.gameShare.GameShareWeb
import com.gameShare.utils.ffmpeg.FfmpegUtils
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest

@SpringBootTest(classes = [GameShareWeb::class])
class FfmpegTest() {
    @Autowired
    private var ffmpegUtils: FfmpegUtils? = null
    @Test
    fun compressionImageTest(){
        println(ffmpegUtils?.compressionImage(
            "C:/Users/RootUsr/Pictures/ta.png",
            "C:/Users/RootUsr/Pictures/taa.png",
            1000
        ))
    }
}